[PATCH] fix null pointer dereference in xen_guest_lookup()
authorAlex Williamson <alex.williamson@hp.com>
Sun, 27 Aug 2006 05:56:01 +0000 (06:56 +0100)
committerAlex Williamson <alex.williamson@hp.com>
Sun, 27 Aug 2006 05:56:01 +0000 (06:56 +0100)
commita1041848b5eba0726c9c7fd59cec56301769e8a4
treeecac50ba2b08d7fc134a3abccbf07736d6c5d4c3
parentee5f6921732e993951634b608436b8dbf07f0419
[PATCH] fix null pointer dereference in xen_guest_lookup()

  The latest ELF changes have a null pointer dereference bug when you
have neither an elf notes section nor a __xen_guest_string.  This patch
checks for the existence of the __xen_guest_string prior to using it.
Please apply.  Thanks,

Alex

Signed-off-by: Alex Williamson <alex.williamson@hp.com>
---
tools/libxc/xc_load_elf.c
xen/common/elf.c